package com.itheima.domain.db;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("tb_topic_question")
public class TopicQuestion {
    @TableId(value = "id", type = IdType.AUTO)
    private String id;//用户id

    @TableField(value = "topic_id")
    private String topicId; //问卷id

    @TableField(value = "content")
    private String content; //题干

    @TableField(value = "character_type")
    private String characterType; //类型
}
